import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {LoginComponent} from './login.component';
import {RegisterComponent} from './register/register.component';
import {LoginRoutingModule} from './login.routing.module';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {NzFormModule} from 'ng-zorro-antd/form';
import {NzButtonModule} from 'ng-zorro-antd/button';
import {NzInputModule} from 'ng-zorro-antd/input';
import {NzCheckboxModule} from 'ng-zorro-antd/checkbox';
import {NzIconModule} from 'ng-zorro-antd/icon';
import {LoadingDirective} from '../directives/loading.directive';



@NgModule({
  declarations: [
    LoginComponent,
    RegisterComponent,
    LoadingDirective,
  ],
  imports: [
    CommonModule,
    LoginRoutingModule,
    FormsModule,
    NzFormModule,
    NzButtonModule,
    NzInputModule,
    NzCheckboxModule,
    ReactiveFormsModule,
    NzIconModule,
  ]
})
export class LoginModule { }
